<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="base.jsp" %>
<div class="header">
	            <div class="stats">
	            
	            	<c:choose>
	            		<c:when test="${not empty sessionScope.curr_user }">
	            			<p class="stat">
						    	<span class="number">
						    		<a href="userexit.jspx"><i class="icon-signout"></i> 安全退出</a>
						    	</span>
						    </p>
	            			<p class="stat">
						    	<span class="number">
						    		<a href="userinfo.jspx"><i class="icon-user"></i> 用户中心</a>
						    	</span>
						    </p>
	            			
	            		</c:when>
	            		<c:otherwise>
		            		 <p class="stat">
						    	<span class="number">
						    		<a href="reg.jspx"><i class="icon-signin"></i> 注册</a>
						    	</span>
						    </p>
						    <p class="stat">
						    	<span class="number">
						    		<a href="login.jspx"><i class="icon-user"></i> 登录</a>	
						    	</span>
						    </p>
	            		</c:otherwise>
	            	</c:choose>
				   
				    <p class="stat">
				    	<span class="number">
				    		<a href="#"><i class="icon-shopping-cart"></i> 购物车</a>
				    	</span>
				    </p>
				    <p class="stat">
				    	<span class="number">
				    		<a href="index.jspx"><i class="icon-home"></i> 首页</a>
				    	</span>
				    </p>
				</div>
				<h1 class="page-title">
				<a href="index.jspx"><i class="icon-github"></i>BookStore</a></h1>
	        </div>
        	<!-- head end-->